package com.coda.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Time;
import java.time.LocalDateTime;
import java.time.LocalTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WordSetting {

    //主键
    private Integer id;
    //用户id
    private Integer userId;
    //每天单词目标个数
    private Integer objective;
    //难度级别（1简单，2中等，3困难，4混合）
    private String difficultyLevel;
    //每日提醒事件
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalTime dailyReminderTime;


}
